import React from 'react';
import { Button, Result } from 'antd';
import { InfoCircleOutlined } from '@ant-design/icons';
import { useTranslation } from 'react-i18next';


const Unauthorized = () => {

  const { t } = useTranslation();

  return(
    <>
      <Result style={{height:'calc(100vh - 64px)'}}
        icon={<InfoCircleOutlined style={{color:'#003da5'}}/>}
        title={t('unauthorized.unauthTitle')}
        subTitle={t('unauthorized.unauthText')}
      />
    </>
  )
}

export default Unauthorized;